widget: Use a real offset in gtk_widget_class_automate_child
authorAlexander Larsson <alexl@redhat.com>
Fri, 26 Jul 2013 12:41:09 +0000 (08:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 26 Jul 2013 12:41:09 +0000 (08:41 -0400)
commita8e84545d15abb477d6d97f56adb046b70befa48
treeac06aad5ee6a6f053841f6af79b3074b150be35f
parent45d2f677bef40d32b17da7856119babeabf4438c
widget: Use a real offset in gtk_widget_class_automate_child

Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.

https://bugzilla.gnome.org/show_bug.cgi?id=702563

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
37 files changed:
demos/gtk-demo/listbox.c
examples/application3/exampleappwin.c
examples/application4/exampleappwin.c
examples/application5/exampleappwin.c
examples/application6/exampleappprefs.c
examples/application6/exampleappwin.c
examples/application7/exampleappprefs.c
examples/application7/exampleappwin.c
examples/application8/exampleappprefs.c
examples/application8/exampleappwin.c
examples/application9/exampleappprefs.c
examples/application9/exampleappwin.c
gtk/gtkaboutdialog.c
gtk/gtkappchooserdialog.c
gtk/gtkappchooserwidget.c
gtk/gtkassistant.c
gtk/gtkcolorchooserdialog.c
gtk/gtkcoloreditor.c
gtk/gtkdialog.c
gtk/gtkfilechooserbutton.c
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserdialog.c
gtk/gtkfontbutton.c
gtk/gtkfontchooserdialog.c
gtk/gtkfontchooserwidget.c
gtk/gtkinfobar.c
gtk/gtklockbutton.c
gtk/gtkmessagedialog.c
gtk/gtkpagesetupunixdialog.c
gtk/gtkpathbar.c
gtk/gtkprintunixdialog.c
gtk/gtkrecentchooserdefault.c
gtk/gtkscalebutton.c
gtk/gtksearchbar.c
gtk/gtkstatusbar.c
gtk/gtkwidget.c
gtk/gtkwidget.h